<!DOCTYPE html>
<link rel="match" href="../expected/svg-foreign-object-mask-ref.html" />
<svg width="40" height="40" viewBox="0 0 40 40">
  <mask id=":r0:" width="32" height="32">
    <circle cx="16" cy="16" r="16" fill="white"></circle>
  </mask>
  <foreignobject x="0" y="0" width="32" height="32" mask="url(#:r0:)">
    <img src=""/>
  </foreignobject>
</svg>
